package com.sojson.util;

/**
 * 驱动工具类
 * 
 * @author liu
 * @date 2020-08-05
 */
public class DriverUtil {

    public static String DRIVER = "com.mysql.cj.jdbc.Driver";

    /**
     * 注册Driver类
     * 
     * @param driver Driver类路径
     * @throws ClassNotFoundException
     */
    void registerDriver(String driver) throws ClassNotFoundException {
        Class.forName(driver);
    }

}